package com.gjp.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author GJP
 * @since 2017-06-08
 */
public class Dictionary extends Model<Dictionary> {

    private static final long serialVersionUID = 1L;

    /**
     * 数据字典id(主键)
     */
	private String uid;
    /**
     * 数据字典类别代码
     */
	private String typecode;
    /**
     * 数据字典类别名称
     */
	private String typename;
    /**
     * 数据字典项目名称
     */
	private String itemname;
    /**
     * 数据字典项目代码(可为空)
     */
	private String itemcode;
    /**
     * 排序字段
     */
	private Integer sort;
    /**
     * 1:使用 0:停用
     */
	private String onoff;
    /**
     * 备注
     */
	private String memo;


	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getTypecode() {
		return typecode;
	}

	public void setTypecode(String typecode) {
		this.typecode = typecode;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getItemname() {
		return itemname;
	}

	public void setItemname(String itemname) {
		this.itemname = itemname;
	}

	public String getItemcode() {
		return itemcode;
	}

	public void setItemcode(String itemcode) {
		this.itemcode = itemcode;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getOnoff() {
		return onoff;
	}

	public void setOnoff(String onoff) {
		this.onoff = onoff;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	protected Serializable pkVal() {
		return this.uid;
	}

}
